Platform Explorer / Nuxeo Platform 6.0

Component org.nuxeo.ecm.automation.rest.pageprovider.contrib

Documentation

Default QueryModel contributions used to fetch document lists.

Damien Metzler

Contributions

XML Source

<?xml version="1.0"?>

<component name="org.nuxeo.ecm.automation.rest.pageprovider.contrib">

  <documentation>
    Default QueryModel contributions used to fetch document lists.

    @author
    <a href="mailto:dmetzler@nuxeo.com">Damien Metzler</a>
  </documentation>

  <extension
    target="org.nuxeo.ecm.platform.query.api.PageProviderService"
    point="providers">
    <coreQueryPageProvider name="CURRENT_DOC_CHILDREN">
      <property name="maxResults">PAGE_SIZE</property>
      <pattern>
        SELECT * FROM Document WHERE ecm:parentId = ? AND
        ecm:mixinType != 'HiddenInNavigation'
        AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState !=
        'deleted'
      </pattern>
      <sort ascending="true" column="dc:title"/>
      <pageSize>50</pageSize>
    </coreQueryPageProvider>
  </extension>
</component>